package cn.ffcs.ref.service;

import cn.ffcs.base.service.BaseService;
import cn.ffcs.ref.dao.IProductRefSortDAO;
import cn.ffcs.ref.model.ProductRefSort;

/**
 * 
 * 字典类型业务逻辑层实现<br/> <table>
 * <tr>
 * <td>负责人/principal: </td>
 * <td colspan="2">liuzhh</td>
 * <tr>
 * <td>修改记录/revision:</td>
 * <td colspan="2"></td>
 * </tr>
 * <tr>
 * <td>日期:</td>
 * <td>修改人:</td>
 * <td>修改说明:</td>
 * </tr>
 * <tr>
 * <td></td>
 * <td></td>
 * <td></td>
 * </tr>
 * </table>
 * @author liuzhh
 * @version $Id$
 */
public class ProductRefSortService<D extends ProductRefSort> extends BaseService<D>
        implements IProductRefSortService<D>
{
    /**
     * 根据类型删除产品与类型的关系
     * @param baseEntity
     */
    private IProductRefSortDAO productRefSortDAO;
    public void deleteBySort(String sort){
        productRefSortDAO.deleteBySort(sort);
    }
    public IProductRefSortDAO getProductRefSortDAO()
    {
        return productRefSortDAO;
    }
    public void setProductRefSortDAO(IProductRefSortDAO productRefSortDAO)
    {
        this.productRefSortDAO = productRefSortDAO;
    }
   
}
